package com.g.mongo.gmongo.entity;

import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Data
@Builder
@Document(collection="license")
public class License {

    @Id
    private String bid;
    private String publisher;
    private String user;
    private String startTime;
    private String expireTime;
    private List<String> macAddress;
    private List<String> cpuSerial;
    private Integer weightValue;
}
